<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
 /*
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  }
  $content .= '</ol>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
  */
  //modify by  vincent, hard code the best sellers
  $content = '';
	//top 1
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.1</span></div>';
	$content .= '<a href="http://www.canetalaser.com/ponteiro-laser-azul-poderoso-de-2000mw-445nm-foco-ajustable-p-2.html"><img src="/images/blue-1000mw-2000mw-new-laser pointer.jpg"  width="150" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.canetalaser.com/ponteiro-laser-azul-poderoso-de-2000mw-445nm-foco-ajustable-p-2.html">Ponteiro Laser Azul Poderoso de 2000mw 445nm FOCO AJUSTABLE</a>';
	$content .= '<div>$169</div>';
	$content .= '</div>';

	
	
	
	
	//top 2
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.2</span></div>';
	$content .= '<a href="http://www.canetalaser.com/500mw1000mw-mais-poderoso-laser-verde-melhor-queima-feixe-de-laser-verde-p-1.html"><img src="/images/most powerful gareen laser.jpg"  width="150" height="100" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.canetalaser.com/500mw1000mw-mais-poderoso-laser-verde-melhor-queima-feixe-de-laser-verde-p-1.html">500mW~1000mw Mais poderoso laser verde Melhor queima feixe de laser verde</a>';
	$content .= '<div>$229</div>';
	$content .= '</div>';	
	
	
	//top 3
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.3</span></div>';
	$content .= '<a href="http://www.canetalaser.com/ponteiro-laser-azul-poderoso-de-1000mw-447nm-%C3%A0-prova-d%C3%A1gua-foco-ajustable-p-7.html"><img src="/images/800mw blue laser pointer.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.canetalaser.com/ponteiro-laser-azul-poderoso-de-1000mw-447nm-%C3%A0-prova-d%C3%A1gua-foco-ajustable-p-7.html">Ponteiro Laser Azul Poderoso de 1000mw 447nm  / FOCO AJUSTABLE</a>';
	$content .= '<div>$149</div>';
	$content .= '</div>';
	
	
	//top 4	
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.4</span></div>';
	$content .= '<a href="http://www.canetalaser.com/500mw800mw-635nm-plaza-ponteiro-laser-vermelho-waterproof-dazzler-para-autodefesa-p-38.html"><img src="/images/red-laser-dazzling-device.jpg"  width="150"  ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.canetalaser.com/500mw800mw-635nm-plaza-ponteiro-laser-vermelho-waterproof-dazzler-para-autodefesa-p-38.html">500mw~800mw 635nm plaza Ponteiro Laser vermelho waterproof Dazzler para auto-defesa</a>';
	$content .= '<div>$139</div>';
	$content .= '</div>';
	
	
		
	//top 5
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.5</span></div>';
	$content .= '<a href="http://www.canetalaser.com/50mw-barato-verde-laser-pointer-estilo-pen-apresentador-laser-pointer-venda-por-atacado-p-39.html"><img src="/images/30mw green laser pen  black.jpg"  width="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.canetalaser.com/50mw-barato-verde-laser-pointer-estilo-pen-apresentador-laser-pointer-venda-por-atacado-p-39.html">50mW Barato Verde laser pointer Estilo Pen - apresentador laser pointer (venda por atacado)</a>';
	$content .= '<div>$19</div>';
	$content .= '</div>';	



	 //base  top5
	  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
	  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
	  for ($i=1; $i<=5; $i++) {
		$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
	  }
	
	  $content .= '</ol>' . "\n";
	  $content .= '</div>' . "\n";
	  $content .= '</div>';
?>